package com.suzhiliang.springbootlesson.javaMailDemo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Copyright (C), 2015-2018, XXX
 *
 * @ClassName: MailEntity
 * @Author: xmm
 * @Date: 2018/10/18 16:45
 * @Description: javaMail实体
 * @Version 1.0
 */
public class MailEntity implements Serializable {

    private static final long serialVersionUID = -4569131616395669603L;

    //SMTP服务器
    private String smtpService;

    //端口号
    private String smtpPort;

    //发送邮箱地址
    private String fromMailAdder;

    //邮箱口令
    private String fromMailPwd;

    //邮箱地址
    private  String title;

    //邮箱内容
    private String content;

    //内容类型
    private  String contentType;

    //接收邮箱地址列表
    private List<String> toMailAdderList = new ArrayList<String>();


    public String getSmtpService() {
        return smtpService;
    }

    public void setSmtpService(String smtpService) {
        this.smtpService = smtpService;
    }

    public String getSmtpPort() {
        return smtpPort;
    }

    public void setSmtpPort(String smtpPort) {
        this.smtpPort = smtpPort;
    }

    public String getFromMailAdder() {
        return fromMailAdder;
    }

    public void setFromMailAdder(String fromMailAdder) {
        this.fromMailAdder = fromMailAdder;
    }

    public String getFromMailPwd() {
        return fromMailPwd;
    }

    public void setFromMailPwd(String fromMailPwd) {
        this.fromMailPwd = fromMailPwd;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public List<String> getToMailAdderList() {
        return toMailAdderList;
    }

    public void setToMailAdderList(List<String> toMailAdderList) {
        this.toMailAdderList = toMailAdderList;
    }
}
